public class Day1012T11 {
    public static void main(String[] args) {
        int a[] = {12, 2, 22, 22, 33, 33, 5};
        for (int b = 0; b < a.length; b++) {
            for (int c = b; c < a.length; c++) {
                if (a[b] / a[c] == 1) {
                    if (c != b) {
                        System.out.println("有重复的数字" + "\t" + a[b]);
                        break;
                    }

                }
            }
        }
    }
}